SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 41935: OF Array-name{*} syntax when used in PROC FCMP returns an ERROR message

DetailsAboutRate It

The OF Array-name{*} syntax when used with a function inside PROC FCMP will return an ERROR message indicating invalid syntax. Currently the OF Array-name{*} is not supported with PROC FCMP. Here is an example of the OF Array-name{*} syntax inside PROC FCMP which returns a syntax error:

   proc fcmp;
     array x(3);
     x1=1;
     x2=2;
     x3=3;
     total=sum(of x{*});
   run;  

A workaround would be to do the following:

   proc fcmp;
     array x(3);
     x1=1;
     x2=2;
     x3=3;
     total=sum(of x1-x3);
   run;  


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.2 TS1M09.4 TS1M3
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS1M0
Microsoft Windows XP 64-bit Edition9.2 TS1M0
Microsoft® Windows® for x649.2 TS1M09.4 TS1M3
Microsoft Windows Server 2003 Datacenter Edition9.2 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.2 TS1M0
Microsoft Windows Server 2003 Standard Edition9.2 TS1M0
Microsoft Windows XP Professional9.2 TS1M0
Windows Vista9.2 TS1M0
Windows Vista for x649.2 TS1M0
64-bit Enabled AIX9.2 TS1M09.4 TS1M3
64-bit Enabled HP-UX9.2 TS1M09.4 TS1M3
64-bit Enabled Solaris9.2 TS1M09.4 TS1M3
HP-UX IPF9.2 TS1M09.4 TS1M3
Linux9.2 TS1M09.4 TS1M3
Linux for x649.2 TS1M09.4 TS1M3
OpenVMS on HP Integrity9.2 TS1M09.4 TS1M3
Solaris for x649.2 TS1M09.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.